

package com.hazelcast.spi.exception;

import com.hazelcast.spi.impl.operationservice.Operation;

/**
 * Marker interface for exceptions.
 * <p>
 * When an exception is marked with this interface then
 * it won't be logged by {@link Operation#logError(Throwable)} on the
 * callee side.
 * <p>
 * It's intended to be used for exceptions which are part of a flow,
 * for example {@link com.hazelcast.durableexecutor.StaleTaskIdException}
 * is always propagated to the user - there is no reason why Hazelcast
 * should log it on its own.
 * <p>
 * The exception is silent from Hazelcast point of view only. Obviously
 * it's very visible for user code.
 */
public interface SilentException {
}
